/**
 * Created by xie on 2018/3/13.
 */

angular.module('module.personalcenter', [
    'ngResource',
    'ngCookies'
])
    .config(['$stateProvider', '$urlRouterProvider', function ($stateProvider, $urlRouterProvider) {
        $stateProvider
            //��ҳ
            .state('personalcenter', {
                url: "/personalcenter",
                templateUrl: personcenalter_view + "personalcenter.html",
                controller: 'PersonalcenterController',
                controllerAs: 'vm'
            })
            .state('set', {
                url: "/set",
                templateUrl: personcenalter_view + "set.html",
                controller: 'SetController',
                controllerAs: 'vm'
            })
            .state('info', {
                url: "/info",
                templateUrl: personcenalter_view + "info.html",
                controller: 'InfoController',
                controllerAs: 'vm'
            })
            .state('file', {
                url: "/file",
                templateUrl: personcenalter_view + "file.html",
                controller: 'FileController',
                controllerAs: 'vm'
            })
            .state('like', {
                url: "/like",
                templateUrl: personcenalter_view + "like.html",
                controller: 'LikeController',
                controllerAs: 'vm'
            })
            .state('share', {
                url: "/share",
                templateUrl: personcenalter_view + "share.html",
                controller: 'ShareController',
                controllerAs: 'vm'
            })
            .state('diss', {
                url: "/diss",
                templateUrl: personcenalter_view + "diss.html",
                controller: 'DissController',
                controllerAs: 'vm'
            })
            .state('comment', {
                url: "/comment",
                templateUrl: personcenalter_view + "comment.html",
                controller: 'CommentController',
                controllerAs: 'vm'
            })
    }])
